package com.jc.subject.domain.convert;

import com.jc.subject.domain.entity.SubjectAnswerDO;
import com.jc.subject.domain.entity.SubjectLabelDO;
import com.jc.subject.infra.basic.entity.SubjectJudge;
import com.jc.subject.infra.basic.entity.SubjectLabel;
import com.jc.subject.infra.basic.entity.SubjectMultiple;
import com.jc.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author gongjiawei
 * @Date 2024/6/5 21:29
 * @注释
 */
@Mapper
public interface SubjectHandlerConverter {
    SubjectHandlerConverter INSTANCE= Mappers.getMapper(SubjectHandlerConverter.class);

    List<SubjectAnswerDO> convertRadioEntityToBoList(List<SubjectRadio> result);

    List<SubjectAnswerDO> convertMultipleEntityToBoList(List<SubjectMultiple> result);

    List<SubjectAnswerDO> convertJudgeEntityToBoList(List<SubjectJudge> result);

}
